﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace Mandelbrot
{
    public partial class EasySettingsForm : Form
    {
        public int NumOfIterations
        {
            get
            {
                return int.Parse(this.mtbNumIterations.Text);
            }

            set
            {
                this.mtbNumIterations.Text = value.ToString();
            }
        }

        public EasySettingsForm()
        {
            InitializeComponent();
        }

        private void btnOk_Click(object sender, EventArgs e)
        {
            this.DialogResult = DialogResult.OK;
            this.Close();
        }
    }
}
